import { RequestAxios } from "@/utils/request"

export const getUserInfoAPI = () => {
    return RequestAxios.get<ProfileInfo>('/member/profile')
}
export const updateUserAvatarAPI=(data:object)=>{
    return RequestAxios.uploadFile<null>("/member/profile/avatar",data);

}
export const updateupdateUserInfoAPI = (data:object) => {
  return RequestAxios.put<null>("/member/profile",data);
};